package com.example.messagemodule.listener;

import com.hyphenate.chat.EMMessage;

/**
 * Created by SHICHENG
 * <p>
 * Time on
 */
public class EventBusMessageWrap {

    public final EMMessage message;
    public final MessageListenerType type;

    public static EventBusMessageWrap getInstance(EMMessage message,MessageListenerType type) {
        return new EventBusMessageWrap(message,type);
    }

    public EventBusMessageWrap(EMMessage message,MessageListenerType type) {
        this.message = message;
        this.type = type;
    }

}
